import { http } from '@/utils/http.ts'
import type { CategoryTop } from '@/types/category'

export const getCategoryTopApi = () => {
  return http<CategoryTop[]>({
    method: 'GET',
    url: '/category/top',
  })
}
